package com.pucong.gitee.database.backup.common.entity.websock;

import com.pucong.gitee.database.backup.common.selfenum.ServiceCommandType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author PC
 */
@Data
@ApiModel("linux 服务器websock dto")
public class LinuxWebsocketMsgDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("linux服务器id")
    private String linuxId;

    @ApiModelProperty("用户token")
    private String token;

    @ApiModelProperty("操作类型")
    private ServiceCommandType operate;

    @ApiModelProperty("指令")
    private String command = "";

    @ApiModelProperty("指令")
    private List<Byte> bytes;

    @ApiModelProperty("列数")
    private Integer cols;

    @ApiModelProperty("行数")
    private Integer rows;
}